tryExecute

fun <T> tryExecute(block: () -> Promise<T>): Promise<T?>

Executes block only if a permit is immediately available, resolving null otherwise.